package model;

import java.io.Serializable;

public class DriverLicense implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private String register;
	private String expitationDate;
	private String uf;
	
	public DriverLicense (String register, String expirationDate, String uf) {
		this.register = register;
		this.expitationDate = expirationDate;
		this.uf = uf;
	}
	
	@Override
	public String toString() {
		return "(" + this.expitationDate + ")" + this.register + "/" + this.uf;
	}	

	public String getRegister() {
		return register;
	}

	public void setRegister(String register) {
		this.register = register;
	}

	public String getExpitationDate() {
		return expitationDate;
	}

	public void setExpitationDate(String expitationDate) {
		this.expitationDate = expitationDate;
	}

	public String getUf() {
		return uf;
	}

	public void setUf(String uf) {
		this.uf = uf;
	}
}
